Skip to content

Conversation

@rrudakov
Copy link
Contributor

@bbatsov would something like this good enough?

Partially address #73

@bbatsov bbatsov merged commit 034b266 into clojure-emacs:main May 27, 2025
@bbatsov
Copy link
Member

bbatsov commented May 27, 2025

Yep, this looks pretty good to me.

@rrudakov rrudakov deleted the feature/design-docs branch May 27, 2025 14:33
@sogaiu
Copy link

sogaiu commented May 28, 2025

BTW, I noticed that casouri mentioned the idea of a "primary" parser here. Sorry, no direct link -- please search for "primary parser".

Is that somehow different from the "main" parser mentioned here?

@rrudakov
Copy link
Contributor Author

BTW, I noticed that casouri mentioned the idea of a "primary" parser here. Sorry, no direct link -- please search for "primary parser".

Is that somehow different from the "main" parser mentioned here?

Yes, from the Emacs documentation:

Generally when there are multiple languages at play, there is a
"primary", or "host" language. The parser for this language--the
“primary parser”, parses the entire buffer. Parsers for other languages
are "embedded" or "guest" parsers, which only work on part of the
buffer. The parse tree of the primary parser is usually used to
determine the ranges in which the embedded parsers operate.

I wrote "main or host", it could also be "primary or host".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants